﻿
using B.S.DataBase.MyProject.ErrorCode;
using D.Traceability.ErrorCode;
using MediatR;

namespace D.Traceability.Write.API.APPlicant.Command.TestCommand
{
    /// <summary>
    /// 添加质检报道图片
    /// </summary>
    public class AddTestCommand : IRequest<APIResult<string>>
    {
        /// <summary>
        /// 图片地址
        /// </summary>
        public string? Url { get; set; }

        /// <summary>
        /// 图片类型
        /// </summary>
        public PictureTypes PTyper { get; set; }


        /// <summary>
        /// 溯源生产批次  
        /// </summary>
        public string? TraceaBatch { get; set; }


        /// <summary>
        /// 逻辑删除 false 未删除  true 删除
        /// </summary>
        public bool TraceaIsDelete { get; set; }
    }
}
